package practica1;

public class FuncionPrueba extends FuncionUnaVar{

	public FuncionPrueba(int min, int max, double p) {
		super(min, max, p);
	}

	public double calcAptitud(double[] f){
		double x = f[0];
		return x/(1+Math.pow(x, 2));
	}
}